package com.dao;

import java.util.List;

import com.model.AuthRule;

/**
 * @ClassName: AuthRuleDao
 * @Description: 权限管理规则方法层
 * @author 陈靖
 * @date 2017-1-17 下午2:37:16
 */
public interface AuthRuleDao {
	// 获取权限管理规则列表
	public List<AuthRule> getAuthRuleList(AuthRule authRule);

	// 添加规则
	public int insertAuthRule(AuthRule authRule);

	// 删除规则
	public int deleteAuthRule(AuthRule authRule);

	// 获取权限信息列表(id,name,mid)
	public List<AuthRule> getAuthRuleMessageList();

	public List<AuthRule> getNamebyid(AuthRule authRule);
}
